package com.kayt.cyberBar.cuser.business.dao;

import java.sql.SQLException;

import com.kayt.cyberBar.common.PageData;
import com.kayt.cyberBar.cuser.business.entity.po.BTaskModel;

public interface ITaskModelDao {
	Long save(BTaskModel entity)throws SQLException;
	Integer update(BTaskModel entity)throws SQLException;
	Integer delete(Long id);
	BTaskModel findById(Long id);
	BTaskModel findByCode(String code) throws SQLException;
	PageData<BTaskModel> findByStoreCode(int pageNum, int pageSize,String storeCode) throws SQLException;
	Boolean checkModelNameExist(String modelName,String sotreCode) throws SQLException;
}
